<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<title>演示服务</title>
<script type="text/javascript" src="/js/vue.js"></script>
<script type="text/javascript" src="/js/axios.min.js"></script>
<link href="/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>




<div id="app" class="container">

    <a href="http://10.0.20.161:9901/release/fs/download?relativePath=/fs/%E6%BC%94%E7%A4%BA%E5%9B%BE%E7%89%87.zip">下载演示发票</a>
    <div class="container mt-4">
        <form action="/ocr/test/upload" method="post" enctype="multipart/form-data">
            <div class="form-group row">
                <label for="fileUpload" class="col-sm-2 col-form-label">Upload File</label>
                <div class="col-sm-10">
                    <input type="file" class="form-control-file" id="fileUpload"  name="files">
                </div>
            </div>
            <div class="form-group row">
                <div class="col-sm-10">
                    <button type="submit" class="btn btn-primary" >上传票据</button>
                </div>
            </div>
        </form>
    </div>

</div>


</body>
<script>

    var v = new Vue({
        el: "#app",
        data: {
            fsList:[],
            parentDir:"",
            currentDir:""
        },

        methods: {

            // fs: function () {
            //     var vueObj = this;
            //     axios.get("/release/fs/list").then(function (resp) {
            //         vueObj.fsList = resp.data.data.fsList;
            //         vueObj.parentDir = resp.data.data.parentDir
            //         vueObj.currentDir = resp.data.data.currentDir
            //     })
            // },
            fsDownload(relativePath){
                window.location.href="/release/fs/download?relativePath="+relativePath;
            },
            upload(){
                alert("hello")

            }
        },
        mounted: function () {
          //  this.fs();
        },

    })


</script>

</html>